package com.rdzn.mall.portal.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: ums_member
 * @Author: jeecg-boot
 * @Date:   2020-08-27
 * @Version: V1.0
 */
@Data
@TableName("ums_member")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ums_member对象", description="ums_member")
public class UmsMemberDO implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;
	/**memberLevelId*/
	@Excel(name = "memberLevelId", width = 15)
    @ApiModelProperty(value = "memberLevelId")
    private Integer memberLevelId;
	/**用户名*/
	@Excel(name = "用户名", width = 15)
    @ApiModelProperty(value = "用户名")
    private String username;
	/**密码*/
	@Excel(name = "密码", width = 15)
    @ApiModelProperty(value = "密码")
    private String password;
	/**昵称*/
	@Excel(name = "昵称", width = 15)
    @ApiModelProperty(value = "昵称")
    private String nickname;
	/**手机号码*/
	@Excel(name = "手机号码", width = 15)
    @ApiModelProperty(value = "手机号码")
    private String phone;
	/**帐号启用状态:0->禁用；1->启用*/
	@Excel(name = "帐号启用状态:0->禁用；1->启用", width = 15)
    @ApiModelProperty(value = "帐号启用状态:0->禁用；1->启用")
    private Integer status;
	/**头像*/
	@Excel(name = "头像", width = 15)
    @ApiModelProperty(value = "头像")
    private String icon;
	/**性别：0->未知；1->男；2->女*/
	@Excel(name = "性别：0->未知；1->男；2->女", width = 15)
    @ApiModelProperty(value = "性别：0->未知；1->男；2->女")
    private Integer gender;
	/**生日*/
	@Excel(name = "生日", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "生日")
    private Date birthday;
	/**所做城市*/
	@Excel(name = "所做城市", width = 15)
    @ApiModelProperty(value = "所做城市")
    private String city;
	/**职业*/
	@Excel(name = "职业", width = 15)
    @ApiModelProperty(value = "职业")
    private String job;
	/**个性签名*/
	@Excel(name = "个性签名", width = 15)
    @ApiModelProperty(value = "个性签名")
    private String personalizedSignature;
	/**用户来源*/
	@Excel(name = "用户来源", width = 15)
    @ApiModelProperty(value = "用户来源")
    private Integer sourceType;
	/**积分*/
	@Excel(name = "积分", width = 15)
    @ApiModelProperty(value = "积分")
    private Integer integration;
	/**成长值*/
	@Excel(name = "成长值", width = 15)
    @ApiModelProperty(value = "成长值")
    private Integer growth;
	/**剩余抽奖次数*/
	@Excel(name = "剩余抽奖次数", width = 15)
    @ApiModelProperty(value = "剩余抽奖次数")
    private Integer luckeyCount;
	/**历史积分数量*/
	@Excel(name = "历史积分数量", width = 15)
    @ApiModelProperty(value = "历史积分数量")
    private Integer historyIntegration;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
    /**weixinOpenid*/
    @ApiModelProperty(value = "weixinOpenid")
    private String weixinOpenid;
    /**avatar*/
    @ApiModelProperty(value = "头像")
    private String avatar;
    /**invitationCode*/
    @ApiModelProperty(value = "邀请码")
    private String invitationCode;
    /**parentUserId*/
    @ApiModelProperty(value = "邀请人")
    private String parentUserId;

    /**language*/
    private String sessionKey;
}
